package com.solvePlat.entity;

import lombok.Data;

@Data
public class WorkInfoComment {
    private String uuid;

    private String parent;

    private String type;

    private String workinfoid;

    private String creatorid;

    private String content;

    private User user;

    private Integer isGiveUp;//是否已经点赞

    private Integer giveUpNum;//获取点赞个数

    private WorkInfo workInfo; //当前评论对应的任务信息

    public WorkInfoComment(String uuid, String parent, String type, String workinfoid, String creatorid, String content) {
        this.uuid = uuid;
        this.parent = parent;
        this.type = type;
        this.workinfoid = workinfoid;
        this.creatorid = creatorid;
        this.content = content;
    }

    public WorkInfoComment() {
        super();
    }

    public String getUuid() {
        return uuid;
    }

    public void setUuid(String uuid) {
        this.uuid = uuid == null ? null : uuid.trim();
    }

    public String getParent() {
        return parent;
    }

    public void setParent(String parent) {
        this.parent = parent == null ? null : parent.trim();
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type == null ? null : type.trim();
    }

    public String getWorkinfoid() {
        return workinfoid;
    }

    public void setWorkinfoid(String workinfoid) {
        this.workinfoid = workinfoid == null ? null : workinfoid.trim();
    }

    public String getCreatorid() {
        return creatorid;
    }

    public void setCreatorid(String creatorid) {
        this.creatorid = creatorid == null ? null : creatorid.trim();
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }
}